package mymyoux.graphics.controls
{
	import flash.display.Sprite;

	public class Square extends Sprite
	{
		public function Square()
		{
			super();
			this.graphics.lineStyle(1,0xFF0000);
			this.graphics.drawRect(0,0,100,100);
		}
		public function set non(value:Number):void
		{
			this.graphics.clear();
			this.graphics.lineStyle(1,0xFF0000);
			this.graphics.drawRect(0,0,value,value);
			trace("Square width="+value);
		}
		public function get non():Number
		{
			return width;
		}
		
	}
}